#ifndef HUDNODEOSG_H
#define HUDNODEOSG_H

#include <DefinePluginOsg.h>
#include <QObject>
#include <OsgClassDataSource/GroupOsg.h>
#include <QVarintTrigger.h>
#include <QVector3D>
#include <QColor>
class DLL_EXPORT_PLUGIN_OSG HudNodeOsg : public GroupOsg
{
    Q_OBJECT
        Q_PROPERTY(double BackPosX READ getBackPosX WRITE setBackPosX)
        Q_PROPERTY(double BackPosY READ getBackPosY WRITE setBackPosY)
        Q_PROPERTY(double BackWidth READ getBackWidth WRITE setBackWidth)
        Q_PROPERTY(double BackHeight READ getBackHeight WRITE setBackHeight)
        Q_PROPERTY(double BackTransparent READ getBackTransparent WRITE setBackTransparent)
        Q_PROPERTY(QVector3D TextPos READ getTextPos WRITE setTextPos)
        Q_PROPERTY(QColor TextColor READ getTextColor WRITE setTextColor)
        Q_PROPERTY(double TextCharacterSize READ getTextCharacterSize WRITE setTextCharacterSize)

public:
    HudNodeOsg(QObject *parent = 0);
    virtual ~HudNodeOsg();

    double getBackPosX();
    void setBackPosX(double posValue);

    double getBackPosY();
    void setBackPosY(double posValue);

    double getBackWidth();
    void setBackWidth(double posValue);

    double getBackHeight();
    void setBackHeight(double posValue);

    double getBackTransparent();
    void setBackTransparent(double transparent);

    QVector3D getTextPos();
    void setTextPos(QVector3D pos);

    QColor getTextColor();
    void setTextColor(QColor& color);

    double getTextCharacterSize();
    void setTextCharacterSize(double size);

};

#endif // HUDNODEOSG_H
